package xmu.zfw.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import xmu.zfw.domain.Report;
import xmu.zfw.domain.Reporteder;

import java.util.List;

@Mapper
@Component
public interface ReportederMapper {
    public Reporteder getReportederById(Integer id);
    public List<Reporteder> getReportedersByReportId(Integer reportId);
    public Reporteder getReporteder(Reporteder reporteder);
    public Integer addReporteder(Reporteder reporteder);
    public Integer deleteReportederRealationByReportId(Integer id);
}
